package com.android.kotlincoroutinemvvmdemo
import android.os.Bundle
import android.util.Log
import com.android.kotlincoroutinemvvmdemo.base.BaseActivity
import com.android.kotlincoroutinemvvmdemo.databinding.ActivityDoubleBindingBinding
import com.android.kotlincoroutinemvvmdemo.viewmodel.OneFiViewModel

class DoubleBindingActivity : BaseActivity<ActivityDoubleBindingBinding>() {

    override fun getLayoutId() = R.layout.activity_double_binding

    override fun init(savedInstanceState: Bundle?) {

        mBinding.oneFiViewModel = OneFiViewModel()
    }

    override fun onStop() {
        super.onStop()
        Log.d(Constants.TAG, "DoubleBindingActivity---override fun onStop()")
    }

    override fun onDestroy() {
        super.onDestroy()
        Log.d(Constants.TAG, "DoubleBindingActivity---override fun onDestroy()")
    }

}